import Vue from 'vue'
import Router from 'vue-router'
import all from '@/components/all'
import active from '@/components/active'
import completed from '@/components/completed'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/all',
      name: 'all',
      component: all
    },
    {
      path: '/active',
      name: 'active',
      component: active
    },
    {
      path: '/completed',
      name: 'completed',
      component: completed
    }
  ]
})
